package com.fjh.shop.user.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fjh.shop.user.model.dto.MemberLoginDTO;
import com.fjh.shop.user.model.dto.MemberRegisterDTO;
import com.fjh.shop.user.model.dto.MemberUpdatePasswordDTO;
import com.fjh.shop.user.model.entity.Member;
import com.fjh.shop.user.model.vo.MemberLoginVO;

/**
 * <p>
 * 服务类
 * </p>
 */
public interface MemberService extends IService<Member> {
    MemberLoginVO login(MemberLoginDTO memberLoginDTO);


    void updatePassword(MemberUpdatePasswordDTO memberUpdatePasswordDTO);

    Member register(MemberRegisterDTO memberRegisterDTO);

    void enable(Long id);

    void resetPassword(Long id);

    Long getMemberIdByToken();
}
